﻿using System;
using System.Collections.Generic;

namespace NP.BPMReportPlatform.AuthorizationProcessesManager.Dtos
{
    /// <summary>
    /// 获取用户有权限的流程出参
    /// </summary>
    public class GetUserAuthorizationProcessesOutput
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 分组ID
        /// </summary>
        public Guid? GroupId { get; set; }

        /// <summary>
        /// 分组名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 公司或业务分类
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        /// 子组分类
        /// </summary>
        public List<GetUserAuthorizationProcessesOutput> Children { get; set; }

        /// <summary>
        /// 流程列表
        /// </summary>
        public List<GetUserAuthorizationProcessesDto> ProcessesList { get; set; }

    }

    public class GetUserProcessAuthForOldBPMOutput
    {
        public string ProcessId { get; set; }
        public string ProcessName { get; set; }
        public string TypeName { get; set; }
    }
}
